Skip to content

gh-101100: Fix sphinx warnings in enum module#101122

Merged
ethanfurman merged 4 commits intopython:mainfrom
sobolevn:fix-enum-docs
Jan 20, 2023
Merged

gh-101100: Fix sphinx warnings in enum module#101122
ethanfurman merged 4 commits intopython:mainfrom
sobolevn:fix-enum-docs

Conversation

@sobolevn
Copy link
Member

@sobolevn sobolevn commented Jan 18, 2023

There were several warnings before:


/Users/sobolev/Desktop/cpython/Doc/library/enum.rst:428: WARNING: py:meth reference target not found: __str__
/Users/sobolev/Desktop/cpython/Doc/library/enum.rst:428: WARNING: py:func reference target not found: int.__str__
/Users/sobolev/Desktop/cpython/Doc/library/enum.rst:428: WARNING: py:meth reference target not found: __format__
/Users/sobolev/Desktop/cpython/Doc/library/enum.rst:428: WARNING: py:func reference target not found: int.__format__
/Users/sobolev/Desktop/cpython/Doc/library/enum.rst:764: WARNING: py:attr reference target not found: __members__
/Users/sobolev/Desktop/cpython/Doc/library/enum.rst:767: WARNING: py:meth reference target not found: __new__
/Users/sobolev/Desktop/cpython/Doc/library/enum.rst:767: WARNING: py:attr reference target not found: _value_
/Users/sobolev/Desktop/cpython/Doc/library/enum.rst:806: WARNING: py:meth reference target not found: _generate_next_value_
/Users/sobolev/Desktop/cpython/Doc/library/enum.rst:849: WARNING: py:attr reference target not found: __members__

Here's how these places were rendered:

Снимок экрана 2023-01-18 в 11 18 28

Снимок экрана 2023-01-18 в 11 18 38

Снимок экрана 2023-01-18 в 11 19 57

Снимок экрана 2023-01-18 в 11 21 18

After the fix, there are no warnings:

Снимок экрана 2023-01-18 в 11 27 00

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation in the Doc dir skip news

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants